package functional.functionalannotation;

/**
 * @ClassName TriFunctionTest
 * @PackageName functional.functionalAnnotation
 * @projectName myThread
 * @Description 
 * @Author games
 * @Date 2025/8/26 下午2:09
 * @Version 1.0
 */
public class TriFunctionTest {
    static int f(int i, long l, double d) {
        return 99;
    }

    public static void main(String[] args) {
        TriFunction<Integer, Long, Double, Integer> tf =
                TriFunctionTest::f;
        tf = (i, l, d) -> 12;
        System.out.println(tf.apply(1, 2L, 3.0));
    }
}
